Heart Disease MLOps Report

Setup & Reproducibility

For a cleaner, assignment-aligned writeup, see the documentation pages under doc/. The built MkDocs site is available at site/index.html.

Data & EDA

Feature Engineering & Models

Experiment Tracking (MLflow)

Packaging, Containerization, Deployment

CI/CD & Testing Notes

Monitoring & Logging

Architecture (high level)

flowchart TD A[UCI Dataset CSV] --> B[download.py] B --> C[data/raw/heart_disease_raw.csv] C --> D[Preprocessing<br/>HeartDiseasePreprocessor] D --> E[Training<br/>Logistic Regression + Random Forest] E --> F[MLflow Tracking<br/>params/metrics/artifacts/models] E --> G[Saved Artifacts<br/>models/best_model.pkl<br/>models/preprocessor.pkl] G --> H[FastAPI Service<br/>app.py] H --> I["/predict"] H --> J["/health"] H --> K["/metrics"] K --> L[Prometheus/Grafana]

API Quick Reference

Repository

Note: For detailed instructions, code explanations, and screenshots, please refer to the full documentation site built with MkDocs located in the site/ directory. The site is served using github pages. Please access it via the link above.